"use strict";
var __assign = (this && this.__assign) || function () {
    __assign = Object.assign || function(t) {
        for (var s, i = 1, n = arguments.length; i < n; i++) {
            s = arguments[i];
            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
                t[p] = s[p];
        }
        return t;
    };
    return __assign.apply(this, arguments);
};
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
    if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
        if (ar || !(i in from)) {
            if (!ar) ar = Array.prototype.slice.call(from, 0, i);
            ar[i] = from[i];
        }
    }
    return to.concat(ar || Array.prototype.slice.call(from));
};
Object.defineProperty(exports, "__esModule", { value: true });
var vue_1 = require("vue");
var vue_router_1 = require("vue-router");
var element_plus_1 = require("element-plus");
var icons_vue_1 = require("@element-plus/icons-vue");
// 路由实例
var router = (0, vue_router_1.useRouter)();
// 状态管理
var loading = (0, vue_1.ref)(false);
var searchKeyword = (0, vue_1.ref)('');
var currentPage = (0, vue_1.ref)(1);
var pageSize = (0, vue_1.ref)(10);
var totalOrders = (0, vue_1.ref)(0);
var totalPages = (0, vue_1.ref)(0);
var dialogVisible = (0, vue_1.ref)(false);
var detailVisible = (0, vue_1.ref)(false);
var deleteConfirmVisible = (0, vue_1.ref)(false);
var isEditMode = (0, vue_1.ref)(false);
var currentOrder = (0, vue_1.ref)({});
var deleteOrderId = (0, vue_1.ref)(null);
// 表单引用
var formRef = (0, vue_1.ref)(null);
// 表单数据（修改产品明细结构）
var formData = (0, vue_1.reactive)({
    id: null,
    time: '',
    orderNo: '',
    warehouse: '',
    operator: '',
    status: '已完成',
    remark: '',
    productDetails: [
        {
            productName: '',
            productNo: '',
            spec: '',
            unit: '个',
            price: 0,
            quantity: 1,
            totalAmount: '0.00'
        }
    ]
});
// 计算总数量和总金额
var totalQuantity = (0, vue_1.computed)(function () {
    return formData.productDetails.reduce(function (sum, item) { return sum + (item.quantity || 0); }, 0);
});
var totalAmount = (0, vue_1.computed)(function () {
    return formData.productDetails.reduce(function (sum, item) { return sum + Number(item.totalAmount || 0); }, 0);
});
// 表单验证规则（增强产品明细验证）
var formRules = {
    time: [{ required: true, message: '请选择入库时间', trigger: 'blur' }],
    orderNo: [{ required: true, message: '请输入入库单编号', trigger: 'blur' }],
    warehouse: [{ required: true, message: '请选择仓库', trigger: 'blur' }],
    operator: [{ required: true, message: '请输入操作人', trigger: 'blur' }],
    productDetails: [{
            validator: function (rule, value, callback) {
                if (value.length === 0) {
                    callback(new Error('至少添加一个产品'));
                }
                else {
                    // 验证每个产品的必填项
                    for (var _i = 0, value_1 = value; _i < value_1.length; _i++) {
                        var item = value_1[_i];
                        if (!item.productName) {
                            callback(new Error('产品名称不能为空'));
                            return;
                        }
                        if (!item.productNo) {
                            callback(new Error('产品编号不能为空'));
                            return;
                        }
                        if (!item.quantity || item.quantity < 1) {
                            callback(new Error('数量必须大于0'));
                            return;
                        }
                    }
                    callback();
                }
            },
            trigger: 'blur'
        }]
};
// 仓库下拉选项
var warehouseOptions = [
    { label: '001仓库', value: '001' },
    { label: '002仓库', value: '002' },
    { label: '003仓库', value: '003' },
    { label: '004仓库', value: '004' }
];
// 入库单数据（更新产品明细结构）
var storageOrders = (0, vue_1.reactive)([
    {
        id: 1,
        time: '2022.05.22',
        orderNo: 'PD-20220517-00001',
        warehouse: '001',
        operator: '陈晨',
        status: '已完成',
        remark: '1号',
        productDetails: [
            {
                productName: '丝芙兰精华',
                productNo: 'SP001',
                spec: '50ml',
                unit: '瓶',
                price: 120,
                quantity: 10,
                totalAmount: '1200.00'
            },
            {
                productName: '兰蔻粉水',
                productNo: 'LC002',
                spec: '400ml',
                unit: '瓶',
                price: 350,
                quantity: 5,
                totalAmount: '1750.00'
            }
        ]
    },
    {
        id: 2,
        time: '2022.05.22',
        orderNo: 'PD-20220517-00002',
        warehouse: '002',
        operator: '陈光',
        status: '已完成',
        remark: '2号',
        productDetails: [
            {
                productName: '雅诗兰黛小棕瓶',
                productNo: 'YS003',
                spec: '100ml',
                unit: '瓶',
                price: 980,
                quantity: 8,
                totalAmount: '7840.00'
            }
        ]
    }
]);
// 过滤后的入库单
var filteredOrders = (0, vue_1.computed)(function () {
    var result = storageOrders.filter(function (order) {
        var keyword = searchKeyword.value.toLowerCase();
        return (order.orderNo.toLowerCase().includes(keyword) ||
            order.warehouse.toLowerCase().includes(keyword) ||
            order.operator.toLowerCase().includes(keyword) ||
            order.status.toLowerCase().includes(keyword));
    });
    totalOrders.value = result.length;
    totalPages.value = Math.ceil(totalOrders.value / pageSize.value);
    var startIndex = (currentPage.value - 1) * pageSize.value;
    return result.slice(startIndex, startIndex + pageSize.value);
});
// 初始化
(0, vue_1.onMounted)(function () {
    loading.value = true;
    setTimeout(function () {
        loading.value = false;
    }, 500);
});
// 分页事件
var handleSizeChange = function (val) {
    pageSize.value = val;
    currentPage.value = 1;
};
var handleCurrentChange = function (val) {
    currentPage.value = val;
};
// 搜索事件
var handleSearch = function () {
    currentPage.value = 1;
};
// 返回事件
var handleBack = function () {
    router.back();
};
// 新增入库单
var handleAddOrder = function () {
    isEditMode.value = false;
    Object.assign(formData, {
        id: null,
        time: new Date().toISOString().split('T')[0],
        orderNo: '',
        warehouse: '',
        operator: '',
        status: '已完成',
        remark: '',
        productDetails: [
            {
                productName: '',
                productNo: '',
                spec: '',
                unit: '个',
                price: 0,
                quantity: 1,
                totalAmount: '0.00'
            }
        ]
    });
    dialogVisible.value = true;
};
// 编辑入库单
var handleEditOrder = function (row) {
    isEditMode.value = true;
    Object.assign(formData, __assign({}, row));
    dialogVisible.value = true;
};
// 查看明细
var handleViewDetail = function (row) {
    currentOrder.value = __assign({}, row);
    detailVisible.value = true;
};
// 删除入库单
var handleDeleteOrder = function (id) {
    deleteOrderId.value = id;
    deleteConfirmVisible.value = true;
};
// 确认删除
var confirmDelete = function () {
    loading.value = true;
    setTimeout(function () {
        var index = storageOrders.findIndex(function (order) { return order.id === deleteOrderId.value; });
        if (index !== -1) {
            storageOrders.splice(index, 1);
        }
        deleteConfirmVisible.value = false;
        loading.value = false;
        element_plus_1.ElMessage.success('入库单已删除');
    }, 500);
};
// 新增产品（修改为完整结构）
var addProduct = function () {
    formData.productDetails.push({
        productName: '',
        productNo: '',
        spec: '',
        unit: '个',
        price: 0,
        quantity: 1,
        totalAmount: '0.00'
    });
};
// 删除产品
var removeProduct = function (index) {
    if (formData.productDetails.length > 1) {
        formData.productDetails.splice(index, 1);
    }
    else {
        element_plus_1.ElMessage.warning('至少保留一个产品');
    }
};
// 计算单行总金额
var calculateRowTotal = function (row) {
    if (row.price !== undefined && row.quantity !== undefined) {
        row.totalAmount = (row.price * row.quantity).toFixed(2);
    }
};
// 保存入库单
var handleSaveOrder = function () {
    if (!formRef.value)
        return;
    formRef.value.validate(function (valid) {
        if (valid) {
            loading.value = true;
            setTimeout(function () {
                if (isEditMode.value) {
                    var index = storageOrders.findIndex(function (order) { return order.id === formData.id; });
                    if (index !== -1) {
                        storageOrders[index] = __assign({}, formData);
                    }
                    element_plus_1.ElMessage.success('入库单已更新');
                }
                else {
                    var newId = Math.max.apply(Math, __spreadArray(__spreadArray([], storageOrders.map(function (o) { return o.id; }), false), [0], false)) + 1;
                    var newOrder = __assign(__assign({}, formData), { id: newId, orderNo: "PD-".concat(new Date().getFullYear()).concat((new Date().getMonth() + 1).toString().padStart(2, '0')).concat(new Date().getDate().toString().padStart(2, '0'), "-").concat(newId.toString().padStart(4, '0')), time: new Date().toISOString().split('T')[0].replace(/-/g, '.') });
                    storageOrders.unshift(newOrder);
                    element_plus_1.ElMessage.success('入库单已创建');
                }
                dialogVisible.value = false;
                loading.value = false;
            }, 500);
        }
    });
};
// 关闭弹窗
var handleDialogClose = function () {
    if (formRef.value) {
        formRef.value.resetFields();
    }
    dialogVisible.value = false;
};
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
var __VLS_ctx = __assign(__assign({}, {}), {});
var __VLS_elements;
var __VLS_components;
var __VLS_directives;
/** @type {__VLS_StyleScopedClasses['page-header']} */ ;
/** @type {__VLS_StyleScopedClasses['search-action-bar']} */ ;
/** @type {__VLS_StyleScopedClasses['search-input']} */ ;
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "storage-order-page" }));
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "page-header" }));
__VLS_asFunctionalElement(__VLS_elements.h2, __VLS_elements.h2)({});
var __VLS_0 = {}.ElButton;
/** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
// @ts-ignore
ElButton;
// @ts-ignore
var __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0(__assign({ 'onClick': {} }, { type: "text" })));
var __VLS_2 = __VLS_1.apply(void 0, __spreadArray([__assign({ 'onClick': {} }, { type: "text" })], __VLS_functionalComponentArgsRest(__VLS_1), false));
var __VLS_4;
var __VLS_5;
var __VLS_6 = ({ click: {} },
    { onClick: (__VLS_ctx.handleBack) });
var __VLS_7 = __VLS_3.slots.default;
// @ts-ignore
[handleBack,];
var __VLS_3;
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "search-action-bar" }));
var __VLS_8 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_9 = __VLS_asFunctionalComponent(__VLS_8, new __VLS_8(__assign(__assign({ modelValue: (__VLS_ctx.searchKeyword), placeholder: "请输入关键字查询" }, { class: "search-input" }), { clearable: true })));
var __VLS_10 = __VLS_9.apply(void 0, __spreadArray([__assign(__assign({ modelValue: (__VLS_ctx.searchKeyword), placeholder: "请输入关键字查询" }, { class: "search-input" }), { clearable: true })], __VLS_functionalComponentArgsRest(__VLS_9), false));
// @ts-ignore
[searchKeyword,];
var __VLS_13 = {}.ElButton;
/** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
// @ts-ignore
ElButton;
// @ts-ignore
var __VLS_14 = __VLS_asFunctionalComponent(__VLS_13, new __VLS_13(__assign({ 'onClick': {} }, { type: "primary" })));
var __VLS_15 = __VLS_14.apply(void 0, __spreadArray([__assign({ 'onClick': {} }, { type: "primary" })], __VLS_functionalComponentArgsRest(__VLS_14), false));
var __VLS_17;
var __VLS_18;
var __VLS_19 = ({ click: {} },
    { onClick: (__VLS_ctx.handleSearch) });
var __VLS_20 = __VLS_16.slots.default;
// @ts-ignore
[handleSearch,];
var __VLS_16;
var __VLS_21 = {}.ElButton;
/** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
// @ts-ignore
ElButton;
// @ts-ignore
var __VLS_22 = __VLS_asFunctionalComponent(__VLS_21, new __VLS_21(__assign({ 'onClick': {} }, { type: "success" })));
var __VLS_23 = __VLS_22.apply(void 0, __spreadArray([__assign({ 'onClick': {} }, { type: "success" })], __VLS_functionalComponentArgsRest(__VLS_22), false));
var __VLS_25;
var __VLS_26;
var __VLS_27 = ({ click: {} },
    { onClick: (__VLS_ctx.handleAddOrder) });
var __VLS_28 = __VLS_24.slots.default;
// @ts-ignore
[handleAddOrder,];
var __VLS_24;
var __VLS_29 = {}.ElTable;
/** @type {[typeof __VLS_components.ElTable, typeof __VLS_components.elTable, typeof __VLS_components.ElTable, typeof __VLS_components.elTable, ]} */ ;
// @ts-ignore
ElTable;
// @ts-ignore
var __VLS_30 = __VLS_asFunctionalComponent(__VLS_29, new __VLS_29(__assign({ data: (__VLS_ctx.filteredOrders), border: true, stripe: true }, { class: "order-table" })));
var __VLS_31 = __VLS_30.apply(void 0, __spreadArray([__assign({ data: (__VLS_ctx.filteredOrders), border: true, stripe: true }, { class: "order-table" })], __VLS_functionalComponentArgsRest(__VLS_30), false));
__VLS_asFunctionalDirective(__VLS_directives.vLoading)(null, __assign(__assign({}, __VLS_directiveBindingRestFields), { value: (__VLS_ctx.loading) }), null, null);
var __VLS_33 = __VLS_32.slots.default;
// @ts-ignore
[filteredOrders, vLoading, loading,];
var __VLS_34 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_35 = __VLS_asFunctionalComponent(__VLS_34, new __VLS_34({
    prop: "time",
    label: "时间",
    sortable: true,
}));
var __VLS_36 = __VLS_35.apply(void 0, __spreadArray([{
        prop: "time",
        label: "时间",
        sortable: true,
    }], __VLS_functionalComponentArgsRest(__VLS_35), false));
var __VLS_39 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_40 = __VLS_asFunctionalComponent(__VLS_39, new __VLS_39({
    prop: "orderNo",
    label: "入库单编号",
}));
var __VLS_41 = __VLS_40.apply(void 0, __spreadArray([{
        prop: "orderNo",
        label: "入库单编号",
    }], __VLS_functionalComponentArgsRest(__VLS_40), false));
var __VLS_44 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_45 = __VLS_asFunctionalComponent(__VLS_44, new __VLS_44({
    prop: "warehouse",
    label: "仓库",
}));
var __VLS_46 = __VLS_45.apply(void 0, __spreadArray([{
        prop: "warehouse",
        label: "仓库",
    }], __VLS_functionalComponentArgsRest(__VLS_45), false));
var __VLS_49 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_50 = __VLS_asFunctionalComponent(__VLS_49, new __VLS_49({
    prop: "operator",
    label: "操作人",
}));
var __VLS_51 = __VLS_50.apply(void 0, __spreadArray([{
        prop: "operator",
        label: "操作人",
    }], __VLS_functionalComponentArgsRest(__VLS_50), false));
var __VLS_54 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_55 = __VLS_asFunctionalComponent(__VLS_54, new __VLS_54({
    prop: "status",
    label: "入库状态",
}));
var __VLS_56 = __VLS_55.apply(void 0, __spreadArray([{
        prop: "status",
        label: "入库状态",
    }], __VLS_functionalComponentArgsRest(__VLS_55), false));
var __VLS_58 = __VLS_57.slots.default;
{
    var __VLS_59 = __VLS_57.slots.default;
    var scope = __VLS_getSlotParameters(__VLS_59)[0];
    var __VLS_60 = {}.ElTag;
    /** @type {[typeof __VLS_components.ElTag, typeof __VLS_components.elTag, typeof __VLS_components.ElTag, typeof __VLS_components.elTag, ]} */ ;
    // @ts-ignore
    ElTag;
    // @ts-ignore
    var __VLS_61 = __VLS_asFunctionalComponent(__VLS_60, new __VLS_60({
        type: "success",
    }));
    var __VLS_62 = __VLS_61.apply(void 0, __spreadArray([{
            type: "success",
        }], __VLS_functionalComponentArgsRest(__VLS_61), false));
    var __VLS_64 = __VLS_63.slots.default;
    (scope.row.status);
    var __VLS_63;
}
var __VLS_57;
var __VLS_65 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_66 = __VLS_asFunctionalComponent(__VLS_65, new __VLS_65({
    prop: "remark",
    label: "备注",
}));
var __VLS_67 = __VLS_66.apply(void 0, __spreadArray([{
        prop: "remark",
        label: "备注",
    }], __VLS_functionalComponentArgsRest(__VLS_66), false));
var __VLS_70 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_71 = __VLS_asFunctionalComponent(__VLS_70, new __VLS_70({
    label: "操作",
    fixed: "right",
}));
var __VLS_72 = __VLS_71.apply(void 0, __spreadArray([{
        label: "操作",
        fixed: "right",
    }], __VLS_functionalComponentArgsRest(__VLS_71), false));
var __VLS_74 = __VLS_73.slots.default;
{
    var __VLS_75 = __VLS_73.slots.default;
    var scope_1 = __VLS_getSlotParameters(__VLS_75)[0];
    var __VLS_76 = {}.ElButton;
    /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
    // @ts-ignore
    ElButton;
    // @ts-ignore
    var __VLS_77 = __VLS_asFunctionalComponent(__VLS_76, new __VLS_76(__assign({ 'onClick': {} }, { type: "primary", size: "small" })));
    var __VLS_78 = __VLS_77.apply(void 0, __spreadArray([__assign({ 'onClick': {} }, { type: "primary", size: "small" })], __VLS_functionalComponentArgsRest(__VLS_77), false));
    var __VLS_80 = void 0;
    var __VLS_81 = void 0;
    var __VLS_82 = ({ click: {} },
        { onClick: function () {
                var _a = [];
                for (var _i = 0; _i < arguments.length; _i++) {
                    _a[_i] = arguments[_i];
                }
                var $event = _a[0];
                __VLS_ctx.handleViewDetail(scope_1.row);
                // @ts-ignore
                [handleViewDetail,];
            } });
    var __VLS_83 = __VLS_79.slots.default;
    var __VLS_79;
    if (scope_1.row.status !== '已完成') {
        var __VLS_84 = {}.ElButton;
        /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
        // @ts-ignore
        ElButton;
        // @ts-ignore
        var __VLS_85 = __VLS_asFunctionalComponent(__VLS_84, new __VLS_84(__assign({ 'onClick': {} }, { type: "warning", size: "small" })));
        var __VLS_86 = __VLS_85.apply(void 0, __spreadArray([__assign({ 'onClick': {} }, { type: "warning", size: "small" })], __VLS_functionalComponentArgsRest(__VLS_85), false));
        var __VLS_88 = void 0;
        var __VLS_89 = void 0;
        var __VLS_90 = ({ click: {} },
            { onClick: function () {
                    var _a = [];
                    for (var _i = 0; _i < arguments.length; _i++) {
                        _a[_i] = arguments[_i];
                    }
                    var $event = _a[0];
                    if (!(scope_1.row.status !== '已完成'))
                        return;
                    __VLS_ctx.handleEditOrder(scope_1.row);
                    // @ts-ignore
                    [handleEditOrder,];
                } });
        var __VLS_91 = __VLS_87.slots.default;
        var __VLS_87;
    }
    if (scope_1.row.status !== '已完成') {
        var __VLS_92 = {}.ElButton;
        /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
        // @ts-ignore
        ElButton;
        // @ts-ignore
        var __VLS_93 = __VLS_asFunctionalComponent(__VLS_92, new __VLS_92(__assign({ 'onClick': {} }, { type: "danger", size: "small" })));
        var __VLS_94 = __VLS_93.apply(void 0, __spreadArray([__assign({ 'onClick': {} }, { type: "danger", size: "small" })], __VLS_functionalComponentArgsRest(__VLS_93), false));
        var __VLS_96 = void 0;
        var __VLS_97 = void 0;
        var __VLS_98 = ({ click: {} },
            { onClick: function () {
                    var _a = [];
                    for (var _i = 0; _i < arguments.length; _i++) {
                        _a[_i] = arguments[_i];
                    }
                    var $event = _a[0];
                    if (!(scope_1.row.status !== '已完成'))
                        return;
                    __VLS_ctx.handleDeleteOrder(scope_1.row.id);
                    // @ts-ignore
                    [handleDeleteOrder,];
                } });
        var __VLS_99 = __VLS_95.slots.default;
        var __VLS_95;
    }
}
var __VLS_73;
var __VLS_32;
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "pagination" }));
__VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)(__assign({ class: "total-info" }));
(__VLS_ctx.totalOrders);
(__VLS_ctx.totalPages);
// @ts-ignore
[totalOrders, totalPages,];
var __VLS_100 = {}.ElPagination;
/** @type {[typeof __VLS_components.ElPagination, typeof __VLS_components.elPagination, ]} */ ;
// @ts-ignore
ElPagination;
// @ts-ignore
var __VLS_101 = __VLS_asFunctionalComponent(__VLS_100, new __VLS_100(__assign(__assign({ 'onSizeChange': {} }, { 'onCurrentChange': {} }), { currentPage: (__VLS_ctx.currentPage), pageSize: (__VLS_ctx.pageSize), pageSizes: ([10, 20, 50]), total: (__VLS_ctx.totalOrders), layout: "prev, pager, next, jumper, sizes" })));
var __VLS_102 = __VLS_101.apply(void 0, __spreadArray([__assign(__assign({ 'onSizeChange': {} }, { 'onCurrentChange': {} }), { currentPage: (__VLS_ctx.currentPage), pageSize: (__VLS_ctx.pageSize), pageSizes: ([10, 20, 50]), total: (__VLS_ctx.totalOrders), layout: "prev, pager, next, jumper, sizes" })], __VLS_functionalComponentArgsRest(__VLS_101), false));
var __VLS_104;
var __VLS_105;
var __VLS_106 = ({ sizeChange: {} },
    { onSizeChange: (__VLS_ctx.handleSizeChange) });
var __VLS_107 = ({ currentChange: {} },
    { onCurrentChange: (__VLS_ctx.handleCurrentChange) });
// @ts-ignore
[totalOrders, currentPage, pageSize, handleSizeChange, handleCurrentChange,];
var __VLS_103;
var __VLS_109 = {}.ElDialog;
/** @type {[typeof __VLS_components.ElDialog, typeof __VLS_components.elDialog, typeof __VLS_components.ElDialog, typeof __VLS_components.elDialog, ]} */ ;
// @ts-ignore
ElDialog;
// @ts-ignore
var __VLS_110 = __VLS_asFunctionalComponent(__VLS_109, new __VLS_109({
    modelValue: (__VLS_ctx.dialogVisible),
    title: (__VLS_ctx.isEditMode ? '编辑入库单' : '新增入库单'),
    width: "90%",
    beforeClose: (__VLS_ctx.handleDialogClose),
}));
var __VLS_111 = __VLS_110.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.dialogVisible),
        title: (__VLS_ctx.isEditMode ? '编辑入库单' : '新增入库单'),
        width: "90%",
        beforeClose: (__VLS_ctx.handleDialogClose),
    }], __VLS_functionalComponentArgsRest(__VLS_110), false));
var __VLS_113 = __VLS_112.slots.default;
// @ts-ignore
[dialogVisible, isEditMode, handleDialogClose,];
var __VLS_114 = {}.ElForm;
/** @type {[typeof __VLS_components.ElForm, typeof __VLS_components.elForm, typeof __VLS_components.ElForm, typeof __VLS_components.elForm, ]} */ ;
// @ts-ignore
ElForm;
// @ts-ignore
var __VLS_115 = __VLS_asFunctionalComponent(__VLS_114, new __VLS_114(__assign({ model: (__VLS_ctx.formData), ref: "formRef", rules: (__VLS_ctx.formRules), labelWidth: "120px" }, { class: "order-form" })));
var __VLS_116 = __VLS_115.apply(void 0, __spreadArray([__assign({ model: (__VLS_ctx.formData), ref: "formRef", rules: (__VLS_ctx.formRules), labelWidth: "120px" }, { class: "order-form" })], __VLS_functionalComponentArgsRest(__VLS_115), false));
/** @type {typeof __VLS_ctx.formRef} */ ;
var __VLS_118 = {};
var __VLS_120 = __VLS_117.slots.default;
// @ts-ignore
[formData, formRules, formRef,];
var __VLS_121 = {}.ElRow;
/** @type {[typeof __VLS_components.ElRow, typeof __VLS_components.elRow, typeof __VLS_components.ElRow, typeof __VLS_components.elRow, ]} */ ;
// @ts-ignore
ElRow;
// @ts-ignore
var __VLS_122 = __VLS_asFunctionalComponent(__VLS_121, new __VLS_121({
    gutter: (20),
}));
var __VLS_123 = __VLS_122.apply(void 0, __spreadArray([{
        gutter: (20),
    }], __VLS_functionalComponentArgsRest(__VLS_122), false));
var __VLS_125 = __VLS_124.slots.default;
var __VLS_126 = {}.ElCol;
/** @type {[typeof __VLS_components.ElCol, typeof __VLS_components.elCol, typeof __VLS_components.ElCol, typeof __VLS_components.elCol, ]} */ ;
// @ts-ignore
ElCol;
// @ts-ignore
var __VLS_127 = __VLS_asFunctionalComponent(__VLS_126, new __VLS_126({
    span: (12),
}));
var __VLS_128 = __VLS_127.apply(void 0, __spreadArray([{
        span: (12),
    }], __VLS_functionalComponentArgsRest(__VLS_127), false));
var __VLS_130 = __VLS_129.slots.default;
var __VLS_131 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_132 = __VLS_asFunctionalComponent(__VLS_131, new __VLS_131({
    label: "入库时间",
    prop: "time",
}));
var __VLS_133 = __VLS_132.apply(void 0, __spreadArray([{
        label: "入库时间",
        prop: "time",
    }], __VLS_functionalComponentArgsRest(__VLS_132), false));
var __VLS_135 = __VLS_134.slots.default;
var __VLS_136 = {}.ElDatePicker;
/** @type {[typeof __VLS_components.ElDatePicker, typeof __VLS_components.elDatePicker, ]} */ ;
// @ts-ignore
ElDatePicker;
// @ts-ignore
var __VLS_137 = __VLS_asFunctionalComponent(__VLS_136, new __VLS_136(__assign({ modelValue: (__VLS_ctx.formData.time), type: "date", placeholder: "选择入库时间" }, { style: {} })));
var __VLS_138 = __VLS_137.apply(void 0, __spreadArray([__assign({ modelValue: (__VLS_ctx.formData.time), type: "date", placeholder: "选择入库时间" }, { style: {} })], __VLS_functionalComponentArgsRest(__VLS_137), false));
// @ts-ignore
[formData,];
var __VLS_134;
var __VLS_129;
var __VLS_141 = {}.ElCol;
/** @type {[typeof __VLS_components.ElCol, typeof __VLS_components.elCol, typeof __VLS_components.ElCol, typeof __VLS_components.elCol, ]} */ ;
// @ts-ignore
ElCol;
// @ts-ignore
var __VLS_142 = __VLS_asFunctionalComponent(__VLS_141, new __VLS_141({
    span: (12),
}));
var __VLS_143 = __VLS_142.apply(void 0, __spreadArray([{
        span: (12),
    }], __VLS_functionalComponentArgsRest(__VLS_142), false));
var __VLS_145 = __VLS_144.slots.default;
var __VLS_146 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_147 = __VLS_asFunctionalComponent(__VLS_146, new __VLS_146({
    label: "入库单编号",
    prop: "orderNo",
}));
var __VLS_148 = __VLS_147.apply(void 0, __spreadArray([{
        label: "入库单编号",
        prop: "orderNo",
    }], __VLS_functionalComponentArgsRest(__VLS_147), false));
var __VLS_150 = __VLS_149.slots.default;
var __VLS_151 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_152 = __VLS_asFunctionalComponent(__VLS_151, new __VLS_151({
    modelValue: (__VLS_ctx.formData.orderNo),
    placeholder: "输入入库单编号",
    disabled: (__VLS_ctx.isEditMode),
}));
var __VLS_153 = __VLS_152.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.formData.orderNo),
        placeholder: "输入入库单编号",
        disabled: (__VLS_ctx.isEditMode),
    }], __VLS_functionalComponentArgsRest(__VLS_152), false));
// @ts-ignore
[isEditMode, formData,];
var __VLS_149;
var __VLS_144;
var __VLS_124;
var __VLS_156 = {}.ElRow;
/** @type {[typeof __VLS_components.ElRow, typeof __VLS_components.elRow, typeof __VLS_components.ElRow, typeof __VLS_components.elRow, ]} */ ;
// @ts-ignore
ElRow;
// @ts-ignore
var __VLS_157 = __VLS_asFunctionalComponent(__VLS_156, new __VLS_156({
    gutter: (20),
}));
var __VLS_158 = __VLS_157.apply(void 0, __spreadArray([{
        gutter: (20),
    }], __VLS_functionalComponentArgsRest(__VLS_157), false));
var __VLS_160 = __VLS_159.slots.default;
var __VLS_161 = {}.ElCol;
/** @type {[typeof __VLS_components.ElCol, typeof __VLS_components.elCol, typeof __VLS_components.ElCol, typeof __VLS_components.elCol, ]} */ ;
// @ts-ignore
ElCol;
// @ts-ignore
var __VLS_162 = __VLS_asFunctionalComponent(__VLS_161, new __VLS_161({
    span: (12),
}));
var __VLS_163 = __VLS_162.apply(void 0, __spreadArray([{
        span: (12),
    }], __VLS_functionalComponentArgsRest(__VLS_162), false));
var __VLS_165 = __VLS_164.slots.default;
var __VLS_166 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_167 = __VLS_asFunctionalComponent(__VLS_166, new __VLS_166({
    label: "仓库",
    prop: "warehouse",
}));
var __VLS_168 = __VLS_167.apply(void 0, __spreadArray([{
        label: "仓库",
        prop: "warehouse",
    }], __VLS_functionalComponentArgsRest(__VLS_167), false));
var __VLS_170 = __VLS_169.slots.default;
var __VLS_171 = {}.ElSelect;
/** @type {[typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, ]} */ ;
// @ts-ignore
ElSelect;
// @ts-ignore
var __VLS_172 = __VLS_asFunctionalComponent(__VLS_171, new __VLS_171({
    modelValue: (__VLS_ctx.formData.warehouse),
    placeholder: "选择仓库",
    clearable: true,
}));
var __VLS_173 = __VLS_172.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.formData.warehouse),
        placeholder: "选择仓库",
        clearable: true,
    }], __VLS_functionalComponentArgsRest(__VLS_172), false));
var __VLS_175 = __VLS_174.slots.default;
// @ts-ignore
[formData,];
for (var _i = 0, _a = __VLS_getVForSourceType((__VLS_ctx.warehouseOptions)); _i < _a.length; _i++) {
    var item = _a[_i][0];
    // @ts-ignore
    [warehouseOptions,];
    var __VLS_176 = {}.ElOption;
    /** @type {[typeof __VLS_components.ElOption, typeof __VLS_components.elOption, ]} */ ;
    // @ts-ignore
    ElOption;
    // @ts-ignore
    var __VLS_177 = __VLS_asFunctionalComponent(__VLS_176, new __VLS_176({
        key: (item.value),
        label: (item.label),
        value: (item.value),
    }));
    var __VLS_178 = __VLS_177.apply(void 0, __spreadArray([{
            key: (item.value),
            label: (item.label),
            value: (item.value),
        }], __VLS_functionalComponentArgsRest(__VLS_177), false));
}
var __VLS_174;
var __VLS_169;
var __VLS_164;
var __VLS_181 = {}.ElCol;
/** @type {[typeof __VLS_components.ElCol, typeof __VLS_components.elCol, typeof __VLS_components.ElCol, typeof __VLS_components.elCol, ]} */ ;
// @ts-ignore
ElCol;
// @ts-ignore
var __VLS_182 = __VLS_asFunctionalComponent(__VLS_181, new __VLS_181({
    span: (12),
}));
var __VLS_183 = __VLS_182.apply(void 0, __spreadArray([{
        span: (12),
    }], __VLS_functionalComponentArgsRest(__VLS_182), false));
var __VLS_185 = __VLS_184.slots.default;
var __VLS_186 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_187 = __VLS_asFunctionalComponent(__VLS_186, new __VLS_186({
    label: "操作人",
    prop: "operator",
}));
var __VLS_188 = __VLS_187.apply(void 0, __spreadArray([{
        label: "操作人",
        prop: "operator",
    }], __VLS_functionalComponentArgsRest(__VLS_187), false));
var __VLS_190 = __VLS_189.slots.default;
var __VLS_191 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_192 = __VLS_asFunctionalComponent(__VLS_191, new __VLS_191({
    modelValue: (__VLS_ctx.formData.operator),
    placeholder: "输入操作人",
}));
var __VLS_193 = __VLS_192.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.formData.operator),
        placeholder: "输入操作人",
    }], __VLS_functionalComponentArgsRest(__VLS_192), false));
// @ts-ignore
[formData,];
var __VLS_189;
var __VLS_184;
var __VLS_159;
var __VLS_196 = {}.ElRow;
/** @type {[typeof __VLS_components.ElRow, typeof __VLS_components.elRow, typeof __VLS_components.ElRow, typeof __VLS_components.elRow, ]} */ ;
// @ts-ignore
ElRow;
// @ts-ignore
var __VLS_197 = __VLS_asFunctionalComponent(__VLS_196, new __VLS_196({
    gutter: (20),
}));
var __VLS_198 = __VLS_197.apply(void 0, __spreadArray([{
        gutter: (20),
    }], __VLS_functionalComponentArgsRest(__VLS_197), false));
var __VLS_200 = __VLS_199.slots.default;
var __VLS_201 = {}.ElCol;
/** @type {[typeof __VLS_components.ElCol, typeof __VLS_components.elCol, typeof __VLS_components.ElCol, typeof __VLS_components.elCol, ]} */ ;
// @ts-ignore
ElCol;
// @ts-ignore
var __VLS_202 = __VLS_asFunctionalComponent(__VLS_201, new __VLS_201({
    span: (12),
}));
var __VLS_203 = __VLS_202.apply(void 0, __spreadArray([{
        span: (12),
    }], __VLS_functionalComponentArgsRest(__VLS_202), false));
var __VLS_205 = __VLS_204.slots.default;
var __VLS_206 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_207 = __VLS_asFunctionalComponent(__VLS_206, new __VLS_206({
    label: "入库状态",
    prop: "status",
}));
var __VLS_208 = __VLS_207.apply(void 0, __spreadArray([{
        label: "入库状态",
        prop: "status",
    }], __VLS_functionalComponentArgsRest(__VLS_207), false));
var __VLS_210 = __VLS_209.slots.default;
var __VLS_211 = {}.ElSelect;
/** @type {[typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, ]} */ ;
// @ts-ignore
ElSelect;
// @ts-ignore
var __VLS_212 = __VLS_asFunctionalComponent(__VLS_211, new __VLS_211({
    modelValue: (__VLS_ctx.formData.status),
    placeholder: "选择入库状态",
}));
var __VLS_213 = __VLS_212.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.formData.status),
        placeholder: "选择入库状态",
    }], __VLS_functionalComponentArgsRest(__VLS_212), false));
var __VLS_215 = __VLS_214.slots.default;
// @ts-ignore
[formData,];
var __VLS_216 = {}.ElOption;
/** @type {[typeof __VLS_components.ElOption, typeof __VLS_components.elOption, ]} */ ;
// @ts-ignore
ElOption;
// @ts-ignore
var __VLS_217 = __VLS_asFunctionalComponent(__VLS_216, new __VLS_216({
    label: "已完成",
    value: "已完成",
}));
var __VLS_218 = __VLS_217.apply(void 0, __spreadArray([{
        label: "已完成",
        value: "已完成",
    }], __VLS_functionalComponentArgsRest(__VLS_217), false));
var __VLS_221 = {}.ElOption;
/** @type {[typeof __VLS_components.ElOption, typeof __VLS_components.elOption, ]} */ ;
// @ts-ignore
ElOption;
// @ts-ignore
var __VLS_222 = __VLS_asFunctionalComponent(__VLS_221, new __VLS_221({
    label: "进行中",
    value: "进行中",
}));
var __VLS_223 = __VLS_222.apply(void 0, __spreadArray([{
        label: "进行中",
        value: "进行中",
    }], __VLS_functionalComponentArgsRest(__VLS_222), false));
var __VLS_214;
var __VLS_209;
var __VLS_204;
var __VLS_226 = {}.ElCol;
/** @type {[typeof __VLS_components.ElCol, typeof __VLS_components.elCol, typeof __VLS_components.ElCol, typeof __VLS_components.elCol, ]} */ ;
// @ts-ignore
ElCol;
// @ts-ignore
var __VLS_227 = __VLS_asFunctionalComponent(__VLS_226, new __VLS_226({
    span: (12),
}));
var __VLS_228 = __VLS_227.apply(void 0, __spreadArray([{
        span: (12),
    }], __VLS_functionalComponentArgsRest(__VLS_227), false));
var __VLS_230 = __VLS_229.slots.default;
var __VLS_231 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_232 = __VLS_asFunctionalComponent(__VLS_231, new __VLS_231({
    label: "备注",
    prop: "remark",
}));
var __VLS_233 = __VLS_232.apply(void 0, __spreadArray([{
        label: "备注",
        prop: "remark",
    }], __VLS_functionalComponentArgsRest(__VLS_232), false));
var __VLS_235 = __VLS_234.slots.default;
var __VLS_236 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_237 = __VLS_asFunctionalComponent(__VLS_236, new __VLS_236({
    modelValue: (__VLS_ctx.formData.remark),
    placeholder: "输入备注",
}));
var __VLS_238 = __VLS_237.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.formData.remark),
        placeholder: "输入备注",
    }], __VLS_functionalComponentArgsRest(__VLS_237), false));
// @ts-ignore
[formData,];
var __VLS_234;
var __VLS_229;
var __VLS_199;
var __VLS_241 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_242 = __VLS_asFunctionalComponent(__VLS_241, new __VLS_241({
    label: "入库产品明细",
}));
var __VLS_243 = __VLS_242.apply(void 0, __spreadArray([{
        label: "入库产品明细",
    }], __VLS_functionalComponentArgsRest(__VLS_242), false));
var __VLS_245 = __VLS_244.slots.default;
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "detail-header" }, { style: {} }));
__VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)(__assign({ style: {} }));
var __VLS_246 = {}.ElButton;
/** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
// @ts-ignore
ElButton;
// @ts-ignore
var __VLS_247 = __VLS_asFunctionalComponent(__VLS_246, new __VLS_246(__assign(__assign({ 'onClick': {} }, { type: "primary" }), { style: {} })));
var __VLS_248 = __VLS_247.apply(void 0, __spreadArray([__assign(__assign({ 'onClick': {} }, { type: "primary" }), { style: {} })], __VLS_functionalComponentArgsRest(__VLS_247), false));
var __VLS_250;
var __VLS_251;
var __VLS_252 = ({ click: {} },
    { onClick: (__VLS_ctx.addProduct) });
var __VLS_253 = __VLS_249.slots.default;
// @ts-ignore
[addProduct,];
var __VLS_254 = {}.ElIcon;
/** @type {[typeof __VLS_components.ElIcon, typeof __VLS_components.elIcon, typeof __VLS_components.ElIcon, typeof __VLS_components.elIcon, ]} */ ;
// @ts-ignore
ElIcon;
// @ts-ignore
var __VLS_255 = __VLS_asFunctionalComponent(__VLS_254, new __VLS_254({}));
var __VLS_256 = __VLS_255.apply(void 0, __spreadArray([{}], __VLS_functionalComponentArgsRest(__VLS_255), false));
var __VLS_258 = __VLS_257.slots.default;
var __VLS_259 = {}.Plus;
/** @type {[typeof __VLS_components.Plus, ]} */ ;
// @ts-ignore
icons_vue_1.Plus;
// @ts-ignore
var __VLS_260 = __VLS_asFunctionalComponent(__VLS_259, new __VLS_259({}));
var __VLS_261 = __VLS_260.apply(void 0, __spreadArray([{}], __VLS_functionalComponentArgsRest(__VLS_260), false));
var __VLS_257;
var __VLS_249;
var __VLS_264 = {}.ElTable;
/** @type {[typeof __VLS_components.ElTable, typeof __VLS_components.elTable, typeof __VLS_components.ElTable, typeof __VLS_components.elTable, ]} */ ;
// @ts-ignore
ElTable;
// @ts-ignore
var __VLS_265 = __VLS_asFunctionalComponent(__VLS_264, new __VLS_264(__assign(__assign({ data: (__VLS_ctx.formData.productDetails), border: true, stripe: true }, { class: "detail-table" }), { cellStyle: ({ textAlign: 'center' }), headerCellStyle: ({ textAlign: 'center' }) })));
var __VLS_266 = __VLS_265.apply(void 0, __spreadArray([__assign(__assign({ data: (__VLS_ctx.formData.productDetails), border: true, stripe: true }, { class: "detail-table" }), { cellStyle: ({ textAlign: 'center' }), headerCellStyle: ({ textAlign: 'center' }) })], __VLS_functionalComponentArgsRest(__VLS_265), false));
var __VLS_268 = __VLS_267.slots.default;
// @ts-ignore
[formData,];
var __VLS_269 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_270 = __VLS_asFunctionalComponent(__VLS_269, new __VLS_269({
    label: "序号",
    type: "index",
}));
var __VLS_271 = __VLS_270.apply(void 0, __spreadArray([{
        label: "序号",
        type: "index",
    }], __VLS_functionalComponentArgsRest(__VLS_270), false));
var __VLS_274 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_275 = __VLS_asFunctionalComponent(__VLS_274, new __VLS_274({
    label: "产品名称",
}));
var __VLS_276 = __VLS_275.apply(void 0, __spreadArray([{
        label: "产品名称",
    }], __VLS_functionalComponentArgsRest(__VLS_275), false));
var __VLS_278 = __VLS_277.slots.default;
{
    var __VLS_279 = __VLS_277.slots.default;
    var scope = __VLS_getSlotParameters(__VLS_279)[0];
    var __VLS_280 = {}.ElInput;
    /** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
    // @ts-ignore
    ElInput;
    // @ts-ignore
    var __VLS_281 = __VLS_asFunctionalComponent(__VLS_280, new __VLS_280(__assign({ modelValue: (scope.row.productName), placeholder: "请输入产品名称" }, { style: {} })));
    var __VLS_282 = __VLS_281.apply(void 0, __spreadArray([__assign({ modelValue: (scope.row.productName), placeholder: "请输入产品名称" }, { style: {} })], __VLS_functionalComponentArgsRest(__VLS_281), false));
}
var __VLS_277;
var __VLS_285 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_286 = __VLS_asFunctionalComponent(__VLS_285, new __VLS_285({
    label: "产品编号",
}));
var __VLS_287 = __VLS_286.apply(void 0, __spreadArray([{
        label: "产品编号",
    }], __VLS_functionalComponentArgsRest(__VLS_286), false));
var __VLS_289 = __VLS_288.slots.default;
{
    var __VLS_290 = __VLS_288.slots.default;
    var scope = __VLS_getSlotParameters(__VLS_290)[0];
    var __VLS_291 = {}.ElInput;
    /** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
    // @ts-ignore
    ElInput;
    // @ts-ignore
    var __VLS_292 = __VLS_asFunctionalComponent(__VLS_291, new __VLS_291(__assign({ modelValue: (scope.row.productNo), placeholder: "请输入产品编号" }, { style: {} })));
    var __VLS_293 = __VLS_292.apply(void 0, __spreadArray([__assign({ modelValue: (scope.row.productNo), placeholder: "请输入产品编号" }, { style: {} })], __VLS_functionalComponentArgsRest(__VLS_292), false));
}
var __VLS_288;
var __VLS_296 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_297 = __VLS_asFunctionalComponent(__VLS_296, new __VLS_296({
    label: "规格",
}));
var __VLS_298 = __VLS_297.apply(void 0, __spreadArray([{
        label: "规格",
    }], __VLS_functionalComponentArgsRest(__VLS_297), false));
var __VLS_300 = __VLS_299.slots.default;
{
    var __VLS_301 = __VLS_299.slots.default;
    var scope = __VLS_getSlotParameters(__VLS_301)[0];
    var __VLS_302 = {}.ElInput;
    /** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
    // @ts-ignore
    ElInput;
    // @ts-ignore
    var __VLS_303 = __VLS_asFunctionalComponent(__VLS_302, new __VLS_302(__assign({ modelValue: (scope.row.spec), placeholder: "请输入规格" }, { style: {} })));
    var __VLS_304 = __VLS_303.apply(void 0, __spreadArray([__assign({ modelValue: (scope.row.spec), placeholder: "请输入规格" }, { style: {} })], __VLS_functionalComponentArgsRest(__VLS_303), false));
}
var __VLS_299;
var __VLS_307 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_308 = __VLS_asFunctionalComponent(__VLS_307, new __VLS_307({
    label: "单位",
}));
var __VLS_309 = __VLS_308.apply(void 0, __spreadArray([{
        label: "单位",
    }], __VLS_functionalComponentArgsRest(__VLS_308), false));
var __VLS_311 = __VLS_310.slots.default;
{
    var __VLS_312 = __VLS_310.slots.default;
    var scope = __VLS_getSlotParameters(__VLS_312)[0];
    var __VLS_313 = {}.ElInput;
    /** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
    // @ts-ignore
    ElInput;
    // @ts-ignore
    var __VLS_314 = __VLS_asFunctionalComponent(__VLS_313, new __VLS_313(__assign({ modelValue: (scope.row.unit), placeholder: "个/件" }, { style: {} })));
    var __VLS_315 = __VLS_314.apply(void 0, __spreadArray([__assign({ modelValue: (scope.row.unit), placeholder: "个/件" }, { style: {} })], __VLS_functionalComponentArgsRest(__VLS_314), false));
}
var __VLS_310;
var __VLS_318 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_319 = __VLS_asFunctionalComponent(__VLS_318, new __VLS_318({
    label: "采购价",
}));
var __VLS_320 = __VLS_319.apply(void 0, __spreadArray([{
        label: "采购价",
    }], __VLS_functionalComponentArgsRest(__VLS_319), false));
var __VLS_322 = __VLS_321.slots.default;
{
    var __VLS_323 = __VLS_321.slots.default;
    var scope = __VLS_getSlotParameters(__VLS_323)[0];
    var __VLS_324 = {}.ElInput;
    /** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
    // @ts-ignore
    ElInput;
    // @ts-ignore
    var __VLS_325 = __VLS_asFunctionalComponent(__VLS_324, new __VLS_324(__assign({ modelValue: (scope.row.price), modelModifiers: { number: true, }, type: "number", min: "0", step: "0.01", placeholder: "0.00" }, { style: {} })));
    var __VLS_326 = __VLS_325.apply(void 0, __spreadArray([__assign({ modelValue: (scope.row.price), modelModifiers: { number: true, }, type: "number", min: "0", step: "0.01", placeholder: "0.00" }, { style: {} })], __VLS_functionalComponentArgsRest(__VLS_325), false));
}
var __VLS_321;
var __VLS_329 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_330 = __VLS_asFunctionalComponent(__VLS_329, new __VLS_329({
    label: "数量",
    width: "150",
}));
var __VLS_331 = __VLS_330.apply(void 0, __spreadArray([{
        label: "数量",
        width: "150",
    }], __VLS_functionalComponentArgsRest(__VLS_330), false));
var __VLS_333 = __VLS_332.slots.default;
{
    var __VLS_334 = __VLS_332.slots.default;
    var scope_2 = __VLS_getSlotParameters(__VLS_334)[0];
    var __VLS_335 = {}.ElInputNumber;
    /** @type {[typeof __VLS_components.ElInputNumber, typeof __VLS_components.elInputNumber, ]} */ ;
    // @ts-ignore
    ElInputNumber;
    // @ts-ignore
    var __VLS_336 = __VLS_asFunctionalComponent(__VLS_335, new __VLS_335(__assign(__assign({ 'onChange': {} }, { modelValue: (scope_2.row.quantity), min: (1) }), { style: {} })));
    var __VLS_337 = __VLS_336.apply(void 0, __spreadArray([__assign(__assign({ 'onChange': {} }, { modelValue: (scope_2.row.quantity), min: (1) }), { style: {} })], __VLS_functionalComponentArgsRest(__VLS_336), false));
    var __VLS_339 = void 0;
    var __VLS_340 = void 0;
    var __VLS_341 = ({ change: {} },
        { onChange: function () {
                var _a = [];
                for (var _i = 0; _i < arguments.length; _i++) {
                    _a[_i] = arguments[_i];
                }
                var $event = _a[0];
                __VLS_ctx.calculateRowTotal(scope_2.row);
                // @ts-ignore
                [calculateRowTotal,];
            } });
    var __VLS_338;
}
var __VLS_332;
var __VLS_343 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_344 = __VLS_asFunctionalComponent(__VLS_343, new __VLS_343({
    label: "总金额",
}));
var __VLS_345 = __VLS_344.apply(void 0, __spreadArray([{
        label: "总金额",
    }], __VLS_functionalComponentArgsRest(__VLS_344), false));
var __VLS_347 = __VLS_346.slots.default;
{
    var __VLS_348 = __VLS_346.slots.default;
    var scope = __VLS_getSlotParameters(__VLS_348)[0];
    var __VLS_349 = {}.ElInput;
    /** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
    // @ts-ignore
    ElInput;
    // @ts-ignore
    var __VLS_350 = __VLS_asFunctionalComponent(__VLS_349, new __VLS_349(__assign({ modelValue: (scope.row.totalAmount), placeholder: "0.00", disabled: true }, { style: {} })));
    var __VLS_351 = __VLS_350.apply(void 0, __spreadArray([__assign({ modelValue: (scope.row.totalAmount), placeholder: "0.00", disabled: true }, { style: {} })], __VLS_functionalComponentArgsRest(__VLS_350), false));
}
var __VLS_346;
var __VLS_354 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_355 = __VLS_asFunctionalComponent(__VLS_354, new __VLS_354({
    label: "操作",
}));
var __VLS_356 = __VLS_355.apply(void 0, __spreadArray([{
        label: "操作",
    }], __VLS_functionalComponentArgsRest(__VLS_355), false));
var __VLS_358 = __VLS_357.slots.default;
{
    var __VLS_359 = __VLS_357.slots.default;
    var scope_3 = __VLS_getSlotParameters(__VLS_359)[0];
    var __VLS_360 = {}.ElButton;
    /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
    // @ts-ignore
    ElButton;
    // @ts-ignore
    var __VLS_361 = __VLS_asFunctionalComponent(__VLS_360, new __VLS_360(__assign({ 'onClick': {} }, { type: "danger", icon: "Delete" })));
    var __VLS_362 = __VLS_361.apply(void 0, __spreadArray([__assign({ 'onClick': {} }, { type: "danger", icon: "Delete" })], __VLS_functionalComponentArgsRest(__VLS_361), false));
    var __VLS_364 = void 0;
    var __VLS_365 = void 0;
    var __VLS_366 = ({ click: {} },
        { onClick: function () {
                var _a = [];
                for (var _i = 0; _i < arguments.length; _i++) {
                    _a[_i] = arguments[_i];
                }
                var $event = _a[0];
                __VLS_ctx.removeProduct(scope_3.$index);
                // @ts-ignore
                [removeProduct,];
            } });
    var __VLS_363;
}
var __VLS_357;
var __VLS_267;
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "total-info" }, { style: {} }));
__VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)(__assign({ style: {} }));
(__VLS_ctx.totalQuantity);
// @ts-ignore
[totalQuantity,];
__VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)(__assign({ style: {} }));
(__VLS_ctx.totalAmount.toFixed(2));
// @ts-ignore
[totalAmount,];
var __VLS_244;
var __VLS_117;
{
    var __VLS_368 = __VLS_112.slots.footer;
    var __VLS_369 = {}.ElButton;
    /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
    // @ts-ignore
    ElButton;
    // @ts-ignore
    var __VLS_370 = __VLS_asFunctionalComponent(__VLS_369, new __VLS_369(__assign({ 'onClick': {} })));
    var __VLS_371 = __VLS_370.apply(void 0, __spreadArray([__assign({ 'onClick': {} })], __VLS_functionalComponentArgsRest(__VLS_370), false));
    var __VLS_373 = void 0;
    var __VLS_374 = void 0;
    var __VLS_375 = ({ click: {} },
        { onClick: (__VLS_ctx.handleDialogClose) });
    var __VLS_376 = __VLS_372.slots.default;
    // @ts-ignore
    [handleDialogClose,];
    var __VLS_372;
    var __VLS_377 = {}.ElButton;
    /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
    // @ts-ignore
    ElButton;
    // @ts-ignore
    var __VLS_378 = __VLS_asFunctionalComponent(__VLS_377, new __VLS_377(__assign({ 'onClick': {} }, { type: "primary" })));
    var __VLS_379 = __VLS_378.apply(void 0, __spreadArray([__assign({ 'onClick': {} }, { type: "primary" })], __VLS_functionalComponentArgsRest(__VLS_378), false));
    var __VLS_381 = void 0;
    var __VLS_382 = void 0;
    var __VLS_383 = ({ click: {} },
        { onClick: (__VLS_ctx.handleSaveOrder) });
    var __VLS_384 = __VLS_380.slots.default;
    // @ts-ignore
    [handleSaveOrder,];
    var __VLS_380;
}
var __VLS_112;
var __VLS_385 = {}.ElDialog;
/** @type {[typeof __VLS_components.ElDialog, typeof __VLS_components.elDialog, typeof __VLS_components.ElDialog, typeof __VLS_components.elDialog, ]} */ ;
// @ts-ignore
ElDialog;
// @ts-ignore
var __VLS_386 = __VLS_asFunctionalComponent(__VLS_385, new __VLS_385({
    modelValue: (__VLS_ctx.detailVisible),
    title: "入库单明细",
    width: "800px",
}));
var __VLS_387 = __VLS_386.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.detailVisible),
        title: "入库单明细",
        width: "800px",
    }], __VLS_functionalComponentArgsRest(__VLS_386), false));
var __VLS_389 = __VLS_388.slots.default;
// @ts-ignore
[detailVisible,];
var __VLS_390 = {}.ElDescriptions;
/** @type {[typeof __VLS_components.ElDescriptions, typeof __VLS_components.elDescriptions, typeof __VLS_components.ElDescriptions, typeof __VLS_components.elDescriptions, ]} */ ;
// @ts-ignore
ElDescriptions;
// @ts-ignore
var __VLS_391 = __VLS_asFunctionalComponent(__VLS_390, new __VLS_390({
    column: "2",
    border: true,
}));
var __VLS_392 = __VLS_391.apply(void 0, __spreadArray([{
        column: "2",
        border: true,
    }], __VLS_functionalComponentArgsRest(__VLS_391), false));
var __VLS_394 = __VLS_393.slots.default;
var __VLS_395 = {}.ElDescriptionsItem;
/** @type {[typeof __VLS_components.ElDescriptionsItem, typeof __VLS_components.elDescriptionsItem, typeof __VLS_components.ElDescriptionsItem, typeof __VLS_components.elDescriptionsItem, ]} */ ;
// @ts-ignore
ElDescriptionsItem;
// @ts-ignore
var __VLS_396 = __VLS_asFunctionalComponent(__VLS_395, new __VLS_395({
    label: "入库时间",
}));
var __VLS_397 = __VLS_396.apply(void 0, __spreadArray([{
        label: "入库时间",
    }], __VLS_functionalComponentArgsRest(__VLS_396), false));
var __VLS_399 = __VLS_398.slots.default;
(__VLS_ctx.currentOrder.time);
// @ts-ignore
[currentOrder,];
var __VLS_398;
var __VLS_400 = {}.ElDescriptionsItem;
/** @type {[typeof __VLS_components.ElDescriptionsItem, typeof __VLS_components.elDescriptionsItem, typeof __VLS_components.ElDescriptionsItem, typeof __VLS_components.elDescriptionsItem, ]} */ ;
// @ts-ignore
ElDescriptionsItem;
// @ts-ignore
var __VLS_401 = __VLS_asFunctionalComponent(__VLS_400, new __VLS_400({
    label: "入库单编号",
}));
var __VLS_402 = __VLS_401.apply(void 0, __spreadArray([{
        label: "入库单编号",
    }], __VLS_functionalComponentArgsRest(__VLS_401), false));
var __VLS_404 = __VLS_403.slots.default;
(__VLS_ctx.currentOrder.orderNo);
// @ts-ignore
[currentOrder,];
var __VLS_403;
var __VLS_405 = {}.ElDescriptionsItem;
/** @type {[typeof __VLS_components.ElDescriptionsItem, typeof __VLS_components.elDescriptionsItem, typeof __VLS_components.ElDescriptionsItem, typeof __VLS_components.elDescriptionsItem, ]} */ ;
// @ts-ignore
ElDescriptionsItem;
// @ts-ignore
var __VLS_406 = __VLS_asFunctionalComponent(__VLS_405, new __VLS_405({
    label: "仓库",
}));
var __VLS_407 = __VLS_406.apply(void 0, __spreadArray([{
        label: "仓库",
    }], __VLS_functionalComponentArgsRest(__VLS_406), false));
var __VLS_409 = __VLS_408.slots.default;
(__VLS_ctx.currentOrder.warehouse);
// @ts-ignore
[currentOrder,];
var __VLS_408;
var __VLS_410 = {}.ElDescriptionsItem;
/** @type {[typeof __VLS_components.ElDescriptionsItem, typeof __VLS_components.elDescriptionsItem, typeof __VLS_components.ElDescriptionsItem, typeof __VLS_components.elDescriptionsItem, ]} */ ;
// @ts-ignore
ElDescriptionsItem;
// @ts-ignore
var __VLS_411 = __VLS_asFunctionalComponent(__VLS_410, new __VLS_410({
    label: "操作人",
}));
var __VLS_412 = __VLS_411.apply(void 0, __spreadArray([{
        label: "操作人",
    }], __VLS_functionalComponentArgsRest(__VLS_411), false));
var __VLS_414 = __VLS_413.slots.default;
(__VLS_ctx.currentOrder.operator);
// @ts-ignore
[currentOrder,];
var __VLS_413;
var __VLS_415 = {}.ElDescriptionsItem;
/** @type {[typeof __VLS_components.ElDescriptionsItem, typeof __VLS_components.elDescriptionsItem, typeof __VLS_components.ElDescriptionsItem, typeof __VLS_components.elDescriptionsItem, ]} */ ;
// @ts-ignore
ElDescriptionsItem;
// @ts-ignore
var __VLS_416 = __VLS_asFunctionalComponent(__VLS_415, new __VLS_415({
    label: "入库状态",
}));
var __VLS_417 = __VLS_416.apply(void 0, __spreadArray([{
        label: "入库状态",
    }], __VLS_functionalComponentArgsRest(__VLS_416), false));
var __VLS_419 = __VLS_418.slots.default;
var __VLS_420 = {}.ElTag;
/** @type {[typeof __VLS_components.ElTag, typeof __VLS_components.elTag, typeof __VLS_components.ElTag, typeof __VLS_components.elTag, ]} */ ;
// @ts-ignore
ElTag;
// @ts-ignore
var __VLS_421 = __VLS_asFunctionalComponent(__VLS_420, new __VLS_420({
    type: (__VLS_ctx.currentOrder.status === '已完成' ? 'success' : 'info'),
}));
var __VLS_422 = __VLS_421.apply(void 0, __spreadArray([{
        type: (__VLS_ctx.currentOrder.status === '已完成' ? 'success' : 'info'),
    }], __VLS_functionalComponentArgsRest(__VLS_421), false));
var __VLS_424 = __VLS_423.slots.default;
// @ts-ignore
[currentOrder,];
(__VLS_ctx.currentOrder.status);
// @ts-ignore
[currentOrder,];
var __VLS_423;
var __VLS_418;
var __VLS_425 = {}.ElDescriptionsItem;
/** @type {[typeof __VLS_components.ElDescriptionsItem, typeof __VLS_components.elDescriptionsItem, typeof __VLS_components.ElDescriptionsItem, typeof __VLS_components.elDescriptionsItem, ]} */ ;
// @ts-ignore
ElDescriptionsItem;
// @ts-ignore
var __VLS_426 = __VLS_asFunctionalComponent(__VLS_425, new __VLS_425({
    label: "备注",
}));
var __VLS_427 = __VLS_426.apply(void 0, __spreadArray([{
        label: "备注",
    }], __VLS_functionalComponentArgsRest(__VLS_426), false));
var __VLS_429 = __VLS_428.slots.default;
(__VLS_ctx.currentOrder.remark || '无');
// @ts-ignore
[currentOrder,];
var __VLS_428;
var __VLS_393;
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "detail-table-container" }));
__VLS_asFunctionalElement(__VLS_elements.h3, __VLS_elements.h3)(__assign({ class: "detail-table-title" }));
var __VLS_430 = {}.ElTable;
/** @type {[typeof __VLS_components.ElTable, typeof __VLS_components.elTable, typeof __VLS_components.ElTable, typeof __VLS_components.elTable, ]} */ ;
// @ts-ignore
ElTable;
// @ts-ignore
var __VLS_431 = __VLS_asFunctionalComponent(__VLS_430, new __VLS_430(__assign({ data: (__VLS_ctx.currentOrder.productDetails), border: true, stripe: true }, { class: "detail-table" })));
var __VLS_432 = __VLS_431.apply(void 0, __spreadArray([__assign({ data: (__VLS_ctx.currentOrder.productDetails), border: true, stripe: true }, { class: "detail-table" })], __VLS_functionalComponentArgsRest(__VLS_431), false));
var __VLS_434 = __VLS_433.slots.default;
// @ts-ignore
[currentOrder,];
var __VLS_435 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_436 = __VLS_asFunctionalComponent(__VLS_435, new __VLS_435({
    prop: "productName",
    label: "产品名称",
}));
var __VLS_437 = __VLS_436.apply(void 0, __spreadArray([{
        prop: "productName",
        label: "产品名称",
    }], __VLS_functionalComponentArgsRest(__VLS_436), false));
var __VLS_440 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_441 = __VLS_asFunctionalComponent(__VLS_440, new __VLS_440({
    prop: "productNo",
    label: "产品编号",
}));
var __VLS_442 = __VLS_441.apply(void 0, __spreadArray([{
        prop: "productNo",
        label: "产品编号",
    }], __VLS_functionalComponentArgsRest(__VLS_441), false));
var __VLS_445 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_446 = __VLS_asFunctionalComponent(__VLS_445, new __VLS_445({
    prop: "spec",
    label: "规格",
}));
var __VLS_447 = __VLS_446.apply(void 0, __spreadArray([{
        prop: "spec",
        label: "规格",
    }], __VLS_functionalComponentArgsRest(__VLS_446), false));
var __VLS_450 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_451 = __VLS_asFunctionalComponent(__VLS_450, new __VLS_450({
    prop: "unit",
    label: "单位",
}));
var __VLS_452 = __VLS_451.apply(void 0, __spreadArray([{
        prop: "unit",
        label: "单位",
    }], __VLS_functionalComponentArgsRest(__VLS_451), false));
var __VLS_455 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_456 = __VLS_asFunctionalComponent(__VLS_455, new __VLS_455({
    prop: "price",
    label: "采购价",
}));
var __VLS_457 = __VLS_456.apply(void 0, __spreadArray([{
        prop: "price",
        label: "采购价",
    }], __VLS_functionalComponentArgsRest(__VLS_456), false));
var __VLS_460 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_461 = __VLS_asFunctionalComponent(__VLS_460, new __VLS_460({
    prop: "quantity",
    label: "数量",
}));
var __VLS_462 = __VLS_461.apply(void 0, __spreadArray([{
        prop: "quantity",
        label: "数量",
    }], __VLS_functionalComponentArgsRest(__VLS_461), false));
var __VLS_465 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_466 = __VLS_asFunctionalComponent(__VLS_465, new __VLS_465({
    prop: "totalAmount",
    label: "总金额",
}));
var __VLS_467 = __VLS_466.apply(void 0, __spreadArray([{
        prop: "totalAmount",
        label: "总金额",
    }], __VLS_functionalComponentArgsRest(__VLS_466), false));
var __VLS_433;
var __VLS_388;
var __VLS_470 = {}.ElDialog;
/** @type {[typeof __VLS_components.ElDialog, typeof __VLS_components.elDialog, typeof __VLS_components.ElDialog, typeof __VLS_components.elDialog, ]} */ ;
// @ts-ignore
ElDialog;
// @ts-ignore
var __VLS_471 = __VLS_asFunctionalComponent(__VLS_470, new __VLS_470({
    modelValue: (__VLS_ctx.deleteConfirmVisible),
    title: "确认删除",
    width: "300px",
}));
var __VLS_472 = __VLS_471.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.deleteConfirmVisible),
        title: "确认删除",
        width: "300px",
    }], __VLS_functionalComponentArgsRest(__VLS_471), false));
var __VLS_474 = __VLS_473.slots.default;
// @ts-ignore
[deleteConfirmVisible,];
__VLS_asFunctionalElement(__VLS_elements.p, __VLS_elements.p)({});
{
    var __VLS_475 = __VLS_473.slots.footer;
    var __VLS_476 = {}.ElButton;
    /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
    // @ts-ignore
    ElButton;
    // @ts-ignore
    var __VLS_477 = __VLS_asFunctionalComponent(__VLS_476, new __VLS_476(__assign({ 'onClick': {} })));
    var __VLS_478 = __VLS_477.apply(void 0, __spreadArray([__assign({ 'onClick': {} })], __VLS_functionalComponentArgsRest(__VLS_477), false));
    var __VLS_480 = void 0;
    var __VLS_481 = void 0;
    var __VLS_482 = ({ click: {} },
        { onClick: function () {
                var _a = [];
                for (var _i = 0; _i < arguments.length; _i++) {
                    _a[_i] = arguments[_i];
                }
                var $event = _a[0];
                __VLS_ctx.deleteConfirmVisible = false;
                // @ts-ignore
                [deleteConfirmVisible,];
            } });
    var __VLS_483 = __VLS_479.slots.default;
    var __VLS_479;
    var __VLS_484 = {}.ElButton;
    /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
    // @ts-ignore
    ElButton;
    // @ts-ignore
    var __VLS_485 = __VLS_asFunctionalComponent(__VLS_484, new __VLS_484(__assign({ 'onClick': {} }, { type: "danger" })));
    var __VLS_486 = __VLS_485.apply(void 0, __spreadArray([__assign({ 'onClick': {} }, { type: "danger" })], __VLS_functionalComponentArgsRest(__VLS_485), false));
    var __VLS_488 = void 0;
    var __VLS_489 = void 0;
    var __VLS_490 = ({ click: {} },
        { onClick: (__VLS_ctx.confirmDelete) });
    var __VLS_491 = __VLS_487.slots.default;
    // @ts-ignore
    [confirmDelete,];
    var __VLS_487;
}
var __VLS_473;
/** @type {__VLS_StyleScopedClasses['storage-order-page']} */ ;
/** @type {__VLS_StyleScopedClasses['page-header']} */ ;
/** @type {__VLS_StyleScopedClasses['search-action-bar']} */ ;
/** @type {__VLS_StyleScopedClasses['search-input']} */ ;
/** @type {__VLS_StyleScopedClasses['order-table']} */ ;
/** @type {__VLS_StyleScopedClasses['pagination']} */ ;
/** @type {__VLS_StyleScopedClasses['total-info']} */ ;
/** @type {__VLS_StyleScopedClasses['order-form']} */ ;
/** @type {__VLS_StyleScopedClasses['detail-header']} */ ;
/** @type {__VLS_StyleScopedClasses['detail-table']} */ ;
/** @type {__VLS_StyleScopedClasses['total-info']} */ ;
/** @type {__VLS_StyleScopedClasses['detail-table-container']} */ ;
/** @type {__VLS_StyleScopedClasses['detail-table-title']} */ ;
/** @type {__VLS_StyleScopedClasses['detail-table']} */ ;
// @ts-ignore
var __VLS_119 = __VLS_118;
var __VLS_export = (await Promise.resolve().then(function () { return require('vue'); })).defineComponent({});
exports.default = {};
